#!/bin/sh
s="1 2 3"
s=(1 2 3 4)
IFS_OLD=$IFS
IFS=$`'\n'`
for test in `cat l.log`
do
    printf "%s\n" $test
done

IFS=$IFS_OLD
for test in `cat l.log`
do
    printf "%s\n" $test
done

for file in ./* ../*
do
    if [ -d "$file" ]
    then
        echo "$file is a directory."
    elif [ -f "$file" ]
    then
        echo "$file is a file"
    fi
done

var2=$[ 34 -5]
echo $var2


var2=10
while test $var2 -ge 0; do
    echo $var2
    #var2=$[ $var2-1 ]
    ((var2=$var2-1))
done


var2=10
until test $var2 -le 0; do
    echo $var2
    #var2=$[ $var2-1 ]
    ((var2=$var2-1))
done
